package com.kuang.service;


import com.kuang.pojo.Users;

import java.util.List;

public interface UserService {
    //add user
    int addUser(Users user);

    //update user
    int updateUser(Users user);

    //delete user
    int deleteUserByUsername(String username);

    //query user

    Users queryUserByUsername(String username);

    List<Users> queryAllUser();

    //check password
    String checkPasswordByUsername(String username);
}
